package org.jeecg.modules.xxgx.fpgl.vo.fpdy;

import lombok.Data;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * 费用项目
 */
@Data
@XmlAccessorType(XmlAccessType.FIELD)
public class FpdyXmlFyxm {

    @XmlAttribute(name = "count")
    int count;

    @XmlElement(name = "group")
    List<Group> group;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "fyxmGroup")
    public static class Group{
        /**
         * 序号
         */
        @XmlAttribute(name = "xh")
        int xh;

        /**
         * 发票行性质
         */
        @XmlElement(name = "fphxz")
        String fphxz;

        /**商品名称*/
        @XmlElement(name = "spmc")
        private String spmc;
        /**商品税目*/
        @XmlElement(name = "spsm")
        private String spsm;
        /**规格型号*/
        @XmlElement(name = "ggxh")
        private java.lang.String ggxh;
        /**计量单位*/
        @XmlElement(name = "dw")
        private java.lang.String jldw;
        /**商品数量*/
        @XmlElement(name = "spsl")
        private java.math.BigDecimal spsl;
        /**单价*/
        @XmlElement(name = "dj")
        private java.math.BigDecimal dj;
        /**金额*/
        @XmlElement(name = "je")
        private java.math.BigDecimal je;

        /**税率*/
        @XmlElement(name = "sl")
        private java.math.BigDecimal tax;
        /**税额*/
        @XmlElement(name = "se")
        private java.math.BigDecimal taxje;
        /**含税标志*/
        @XmlElement(name = "hsbz")
        private String hsbz;
        /**税收编码*/
        @XmlElement(name = "spbm")
        private java.lang.String spbm;
        /**零税率*/
        @XmlElement(name = "lslbs")
        private java.lang.String lslbs;
        /**优惠政策*/
        @XmlElement(name = "yhzcbs")
        private java.lang.String yhzcbs;
        /**增值税特殊管理*/
        @XmlElement(name = "zzstsgl")
        private java.lang.String zzstsgl;
    }
}
